package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

import java.util.List;

public interface AdSensitiveService extends IService<AdSensitive> {
    ResponseResult insertSensitive(AdSensitive adSensitive);

    ResponseResult getSensitiveList(SensitiveDTO dto);

    ResponseResult updateSensitive(AdSensitive adSensitive);

    ResponseResult deleteSensitive(Integer id);

    /**  获取所有的敏感词
     *
     * @return
     */
    ResponseResult<List<String>> selectAllSensitive();
}
